@extends('Layout/layout')
@section('yemian')
<style type="text/css">
	.e_css {
    background: url(/public/images/lift_li_02_02.gif) no-repeat;
    width: 179px;
    font-weight: bold;
    color: #000;
    z-index: 1;
	}
</style>
<script type="text/javascript">
	$(document).ready(function(){ 
	 
		document.getElementById("person").className = "e_css";
	}); 
</script>
<body class="mian_bj">
<div class="mian_top_01">
<div class="mian_top_r"></div>
<div class="mian_top_l"></div>
<div class="mian_top_c">
<ul>
<li><a href="{{ url('Personnel/Person/index') }}"><p>员工档案</p></a></li>
<li><a href="{{ url('Personnel/Leave/index') }}"><p>请假申请</p></a></li>
<li><a href="{{ url('Personnel/Adjust/index') }}"><p>职位调整申请</p></a></li>
<li><a href="{{ url('Personnel/Leaveoffice/index') }}"><p>离职申请</p></a></li>
@if(session('role') == 1)
<li><a href="{{ url('Personnel/Recruit/index') }}"><p>人员招聘</p></a></li>
<li><a href="{{ url('Personnel/Performance/index') }}"><p>绩效管理</p></a></li>
<li><a href="{{ url('Personnel/Socialinsurance/index') }}"><p>社保</p></a></li>
<li><a href="{{ url('Personnel/Money/index') }}"><p>工资管理</p></a></li>
@endif
<li><a href="{{ url('Personnel/Training/index') }}"><p>员工培训</p></a></li>
</ul>
</div>
<div class="mian_b">
	<form action="{{url('Personnel/Recruit/update')}}" method="post">
		<table width="100%" border="0" cellpadding="0" cellspacing="0" class="mian_b_bg_xz">
			<tr>
				<td width="5%" class="mian_b_bg_lm">&nbsp;</td>
				<td colspan="3" class="mian_b_bg_lm">编辑</td>
			</tr>
			<input type="hidden" name="RecruitID" value="{{$RecruitID}}">
			<tr>
				<td>&nbsp;</td>
				<td width="10%" valign="top">招聘岗位</td>
				<td width="60%">{{$info[0]['RecruitmentPost']}}</td>
				<td width="30%">&nbsp;</td>
			</tr>
			

			<tr>
				<td>&nbsp;</td>
				<td width="10%" valign="top">招聘人数：</td>
				<td width="60%"><input type="text" class="input_01" name="RecruitmentCount" value="{{$info[0]['RecruitmentCount']}}"></td>
				<td width="30%">&nbsp;</td>
			</tr>
			<tr>
				<td>&nbsp;</td>
				<td width="10%" valign="top">招聘开始日期：</td>
				<td width="60%">
				<input type="text" class="input_01" id="pickdate" name="RecruitmentDate" value="{{$info[0]['RecruitmentDate']}}"/> </td>
				<td width="25%">&nbsp;</td>
				</tr>

				<script type="text/javascript" src="/public/js/jquery-1.12.3.min.js"></script>
				<script src="/public/js/datedropper.min.js"></script>
				<script src="/public/js/timedropper.min.js"></script>
				<script>
				$("#pickdate").dateDropper({
				    animate: false,
				    format: 'Y-m-d',
				    maxYear: '2020'
				});

				</script>
				<tr>
			<td>&nbsp;</td>
			<td width="10%" valign="top">招聘结束时间：</td>
			<td width="55%">
			<input style="width:200px;height:20px;"  class="input_01" type="text" name="Date" value="{{$info[0]['Date']}}" onclick="SelectDate(this,'yyyy-MM-dd hh:mm:ss')"/>
			<td width="35%">&nbsp;</td>
			</tr>
			<tr>
				<td>&nbsp;</td>
				<td width="10%" valign="top">招聘要求：</td>
				<td width="60%">
				<textarea name="RecruitmentConditions">{{$info[0]['RecruitmentConditions']}}	
				</textarea>
				</td>
				<td width="30%">&nbsp;</td>
			</tr>
			
			
			
			<tr>
				<td>&nbsp;</td>
				<td><input type="submit" value="添加">
					<input type="reset" value="重置"></td>
				<td>&nbsp;</td>
			</tr>
		</table>
		{{csrf_field()}}
	</form>
</div>
</div>
</body>
@endsection